package com.xinqi.modules.homework.homework.assistant.service;

import com.xinqi.modules.chat.chat.official.dto.req.ChatAssistantContentCreateDTO;
import com.xinqi.modules.homework.homework.domain.CourseHomeworkStudentLogEntity;

import java.util.*;

public interface AssistantHomeworkService {

    /**
     * 新奇助手作业发布
     *
     * @author dzy
     */
    List<ChatAssistantContentCreateDTO> releaseHomework(Long contentId);


    /**
     * 新奇助手作业催交、打回、成绩
     *
     * @param contentId 作业成绩
     * @param times     作业轮数
     * @param opType    操作类型 1：催交 2打回 3成绩
     */
    List<ChatAssistantContentCreateDTO> operaStudentHomework(Long contentId, Integer times, List<CourseHomeworkStudentLogEntity> students, Integer opType, String repulseReason);

    /**
     * 提交作业发送系统通知
     * @author dzy
     */
    void submitSysChat(Long classId, Long contentId, Long studentId, Integer times);

}
